package com.holystone.orca.sys.mybatis.model;

import javax.persistence.*;

@Table(name = "sys_staff_privilege")
public class SysStaffPrivilege {
    /**
     * 员工标示
     */
    @Id
    @Column(name = "staff_id")
    private Integer staffId;

    /**
     * 权限标示
     */
    @Id
    @Column(name = "pri_id")
    private Integer priId;

    /**
     * 获取员工标示
     *
     * @return staff_id - 员工标示
     */
    public Integer getStaffId() {
        return staffId;
    }

    /**
     * 设置员工标示
     *
     * @param staffId 员工标示
     */
    public void setStaffId(Integer staffId) {
        this.staffId = staffId;
    }

    /**
     * 获取权限标示
     *
     * @return pri_pid - 权限标示
     */
    public Integer getPriId() {
        return priId;
    }

    /**
     * 设置权限标示
     *
     * @param priPid 权限标示
     */
    public void setPriId(Integer priId) {
        this.priId = priId;
    }
}